package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 状态变动记录
 * </p>
 *
 * @author hpiggy
 * @since 2024-08-20
 */
@Data
@TableName("enroll_customer_status_change")
@ApiModel(value = "EnrollCustomerStatusChange对象", description = "状态变动记录")
public class EnrollCustomerStatusChange implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long customerId;

    private Integer status;

    @ApiModelProperty("状态为预约时，预约时间")
    private LocalDateTime forespeakTime;

    private String remark;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    private Long createdId;

}
